<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id
 * @property int $uid 用户id
 * @property int $room_number 房间编码
 * @property int $mi_seq 上麦麦位 -1:未上麦,0-1号麦位1-2号麦位以此类推
 * @property int $status 状态 0正常 1封禁 2永久封禁
 * @property int $in_room 是否在房间里 0-不在（被踢） 1-在
 * @property int $enter_time 进入时间
 * @property int $block_id 封禁人id
 * @property int $unblock_time 解封时间
 * @property int $ctime 创建时间
 */
class ChatRoomUser extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'tb_chat_room_user';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'room_id' => 'integer', 'mi_seq' => 'integer', 'status' => 'integer', 'in_room' => 'integer', 'enter_time' => 'integer', 'block_id' => 'integer', 'unblock_time' => 'integer', 'ctime' => 'integer'];
}
